home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CreatingGames / Utilities / C / ASAP / bootnode_.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-09-08  |  1.2 KB  |  32 lines

  1. /*****************************************************************************
  2.  *                                                                           *
  3.  * ASAP - Amiga Software Authoring Platform                                  *
  4.  *                                                                           *
  5.  * Written by Laurie Perrin                                                  *
  6.  *                                                                           *
  7.  * ABootNode wrapper class                                                   *
  8.  *                                                                           *
  9.  *****************************************************************************/
  10.  
  11. #ifndef ASAP_BootNode_H
  12. #define ASAP_BootNode_H
  13.  
  14. extern "C"
  15. {
  16.  #include <DOS/FileHandler.h>
  17.  #include <Proto/Expansion.h>
  18. }
  19.  
  20. class ABootNode : public DeviceNode
  21. {
  22.  public:
  23.  inline BOOL AddBootNode(long bootPri, unsigned long flags, ConfigDev *configDev = 0);
  24. };
  25. //----------------------------------------------------------------------------
  26. BOOL ABootNode::AddBootNode (long bootPri, unsigned long flags, ConfigDev *configDev)
  27. {
  28.  return ::AddBootNode(bootPri, flags, this, configDev);
  29. }
  30.  
  31. #endif
  32.